<?php if (!isset($_GET['ajax']) || empty($_GET['ajax'])) { ?>
    <?php get_header(); ?>
<?php } ?>
<?php query_posts($query_string.'&orderby=date&order=ASC'); ?>
<body>
<table height="100%" width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td>
<div id="container">
    <div id="colmid">
        <div id="colright">
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                <?php $withcomments = 1; comments_template(); ?>
            <?php endwhile; ?>
            <?php endif; ?>
            <?php get_sidebar(); ?>
        </div>
    </div>
</div>
</td>
</tr>
<tr valign="top">
    <td height="100%" width="100%">
        <?php get_footer(); ?>
    </td>
</tr>
</table>
</body>
</html>
